package com.lagou.task01;

public class DoubleDimensionalArrayTest {

    public static void main(String[] args) {

        DoubleDimensionalArray dc = new DoubleDimensionalArray();
        //对二维数组赋值并打印
        dc.setSourceArr();

        //每行累加和
        //dc.addLine();

        //每列累加和
        //dc.addList();

        //左上角到右下角累加和
        dc.addDiagonal1();

        //右上角到左下角累加和
        dc.addDiagonal2();
    }
}
